package org.belkodevelop.auth.dto;

import java.util.List;

/**
 * @author VMozolev
 */
public class LoginStatus {

    private final boolean loggedIn;
    private final String login;
    private final List<String> rolesName;

    public LoginStatus(boolean loggedIn, String login, List<String> rolesName) {
        this.loggedIn = loggedIn;
        this.login = login;
        this.rolesName = rolesName;
    }

    public boolean isLoggedIn() {
        return loggedIn;
    }

    public String getLogin() {
        return login;
    }

    public List<String> getRolesName() {
        return rolesName;
    }
}